package com.kjsb.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("expert")
public class Expert implements Serializable {
    /*
     *专家信息表ID
     */
    @TableId(type = IdType.AUTO)
    private Integer expertid;
    /*
     *登录用户ID自增
     */
    private Integer uid;
    /*
     *专家名称
     */
    private String name;
    /*
     *名称
     */
    private String nation;
    /*
     *性别
     */
    private String sex;
    /*
     *所在单位名称
     */
    private String unitname;
    /*
     *职称
     */
    private String title;
    /*
     *电话
     */
    private String tel;
    /*
     *研究介绍
     */
    private String introduction;

    public Expert(Integer expertid, String name, String nation, String sex, String unitname, String title, String tel, String introduction) {
        this.expertid = expertid;
        this.name = name;
        this.nation = nation;
        this.sex = sex;
        this.unitname = unitname;
        this.title = title;
        this.tel = tel;
        this.introduction = introduction;
    }
}

